package com.zhz.demothymeleaf.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhz.demothymeleaf.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where name = #{name}")
    public User getUserByName(@Param("name")String name);
}
